package wps.util {
import mx.collections.ArrayCollection;

public interface IIconBuilder {

    /**
     * 根据xml字符串构建图标集合
     */
    function build(xmlStr:String):void;

    /**
     * 获取结果集合
     *
     * the xml format as follows:
     * <icons>
     * 	<category name="categoryname1">
     * 		<icon>url</icon>
     * 		<icon>url</icon>
     *	</category>
	 *  <category name="categoryname2">
     * 		<icon>url</icon>
     * 		<icon>url</icon>
     *	</category>
     * </icons>
     */
    function getResultCollection():ArrayCollection;
	
	/**
	 * 获取图片类型名称的集合
	 */
	function getCategoryNameCollection():ArrayCollection;

}
}
